<item>
  <title><?php echo htmlspecialchars($article->title); ?></title>
  <link><?php echo $siteUrl; ?>/article/<?php echo $article->id; ?></link>
  <description>
    <?php echo htmlspecialchars($article->getContent()); ?>
  </description>
  <?php foreach($article->tags as $tag): ?>
    <category domain="<?php echo $siteUrl; ?>/tag/<?php echo urlencode($tag); ?>"><?php echo htmlspecialchars($tag); ?></category>
  <?php endforeach; ?>
  <comments><?php echo $siteUrl; ?>/article/<?php echo $article->id; ?>#comments</comments>
  <guid isPermaLink="true"><?php echo $siteUrl; ?>/article/<?php echo $article->id; ?></guid>
  <pubDate><?php echo date($dateFormatRSS, $article->posted); ?></pubDate>
</item>
